home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / printing / crwdemo / outputde.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1994-11-01  |  9.6 KB  |  235 lines

  1. Outputdest
  2. Output Destination
  3. Form25q
  4. Command2
  5. Select Printer
  6.     CMDialog1
  7. CommonDialog
  8. Check3D1
  9. SSCheck
  10. No Print Controls
  11. Command5
  12. Command4
  13. Cancel
  14. Command3
  15.     Option3D1
  16. SSOption
  17. Export
  18.     Option3D1
  19. SSOption
  20.     Option3D1
  21. SSOption
  22. Printer
  23.     Option3D1
  24. SSOption
  25. Window
  26. Frame3D2
  27. SSFrame
  28. Frame3D1
  29. SSFrame
  30. Label1
  31. OutPut Destination
  32. Command1
  33. Print
  34.     StatusBar
  35. SSPanel#
  36. Panel3D1
  37. SSPanel#
  38. Label2
  39. Label2
  40. Frame3D1_DragDrop
  41. Source
  42. Controlb
  43. Command3_Click
  44. Command4_Click
  45. Option3D1_Click)
  46. Value
  47. Option3D2_Click
  48. Command5_Click
  49. RCode5
  50. Command1_Click
  51.     Option3d1
  52. Child
  53. Report_ParentWindowHandle/
  54. Caption
  55. Forms
  56. Count
  57. PEOutPutToWindow
  58. JobNum
  59.     ScaleLeft
  60. ScaleTopy
  61. ScaleWidth
  62. ScaleHeight
  63. Mainp
  64.     StatusBar
  65. PEStartPrintJob<
  66. MenuFileClose
  67. Enabledc
  68. ScreenQ
  69. MousePointer
  70. OutputDestd
  71. CopiesJ
  72. PEOutputToPrinter:
  73. PEGetErrorCodeU
  74. nCopies
  75. FileName
  76. choice
  77. FileTypeZ
  78. Options%
  79. PEPrintFileOptions
  80. PE_FT_TABSEPERATED
  81. StructSize
  82. UseReportNumberFmt-
  83. UseReportDateFormat*
  84. exists{
  85. PEOutputToFile
  86. handlerS
  87. Command2_Click
  88. CMDialogue
  89. Action
  90.     CMDialog1
  91. Cancel
  92. CancelError
  93. Check3D1_Click
  94. Check3d1
  95. Enable
  96. PEShowPrintControlsm
  97. border
  98. style
  99. window
  100. thatI
  101. VisibleF
  102. Index
  103.     Form_Load
  104. Command1
  105. Command2
  106. Command3%
  107. Command5
  108. Command4
  109. PEGetJobStatus
  110. JobInfo
  111. Visual_
  112. Basic:
  113. similar
  114. whenever
  115. findf
  116. statusw
  117.     PEJobInfo
  118. Frame3D2_DragDroph
  119. GetErrorString
  120.     ErrorCode
  121. rpttitle
  122. Text1
  123. StringDelimiter
  124. FieldDelimiter
  125. PE_FIELDDELIMLEN
  126. PE_FT_CHARSEPERATEDP
  127. PECharSepFileOptions
  128. PE_FT_CHARSEPARATED
  129. PE_FT_CHARSEPARATE
  130. unload
  131. CElse
  132.     JobHandle
  133. ExportOptionsValid
  134. InitExportOptions
  135. PEGetExportOptions
  136. ExportOptions
  137. PEExportTo
  138. PEExportOptions
  139. FormatDLLName
  140. FormatType
  141. FormatOptions
  142. DestinationDLLName
  143. DestinationType
  144. DestinationOptions
  145. NFormatOptionsBytes
  146. NDestinationOptionsBytes
  147. ifIf*
  148. Command1_Click
  149. Specify whether to turn print controls on or off
  150. PEShowPrintControls Error #: 
  151. PEShowPrintControls Error #: 
  152. MDIChild - 
  153. Set the border style of the print window so that it has no border,max or min
  154. buttons, control box etc.h
  155. Border_style% = 268435456h
  156. Send the Print job to be printed to a window
  157. PEOutputToWindow Error #: 
  158. Output to Window was successful.
  159. PEStartPrintJob Error #: 
  160. Printing to Window was successful.
  161. Dim C1 As New Child
  162. Crystal MDIChild - 
  163. Set the border style of the print window so that it has no border,max or min
  164. buttons, control box etc.h
  165. Border_style% = 268435456h
  166. Send the Print job to be printed to a window
  167. PEOutputToWindow Error #: 
  168. Output to Window was successful.
  169. PEStartPrintJob Error #: 
  170. Printing to Window was successful.
  171. Output to printerD
  172. Printer
  173. Need to trap if user hits cancel in Commondialogue somehow
  174. PEOutputToPrinter Error #: 
  175. Output to printer Successful.
  176. PEStartPrintJob Error #: 
  177. Printing to Printer was successful.
  178. Note: File format will be Character Seperated with a string delimiter of a single quote and a field delimiter of a comma. To output to any other file formats please refer to the documentation and modify the code manually. Otherwise it is recommended that the Export option be used.
  179. Output to File
  180. Dim Options As PEPrintFileOptionso
  181. Please Enter Report File Name with full path:
  182. Report File Name
  183. FileType = PE_FT_TABSEPERATED 
  184.  Initialize size of structuree
  185.  We can't output to the file, unless it does not exist. Thereforee
  186.  Check for the existence of the file.  If it does exist check with
  187.  the user to see if we can erase it.
  188.  already exits.  OK to overwrite?
  189.  The user said yes
  190.  Handle error
  191. PEOutputToFile Error #: 
  192. Output to file Successful.
  193. PEStartPrintJob Error #: 
  194. Printing to File was successful.
  195.  Handle error
  196. PEOutputToFile Error #: 
  197. Output to file Successful.
  198. Job not open
  199.  PEGetExportOptions gets complete information about format and
  200.  destination for the exportm
  201.  The ExportOptions must be passed to PEExportTo before calling PEStartPrintJob
  202.  Whenever you call PEExportTo, you must ensure that the format
  203.  and dll names have been filled in
  204.  You can do this by assigning specific names (as InitExportOptions does)
  205.  or by calling PEGetExportOptionsc
  206.  If the ExportOptions structure doesn't contain all information needed
  207.  by a format or destination dll, it will ask for the information
  208.  when you call PEStartPrintJob
  209.  An ExportOptions structure filled in by PEGetExportOptions always has
  210.  all the information needed by both dll'sP
  211. PEExportTo Error #: 
  212. Cannot print - no export options
  213. PEStartPrintJob Error #: 
  214. Export was successful.
  215. Command3_Click
  216. Command4_Click
  217. Command5_Click
  218. Winhelp c:\crw\crw.hlp
  219. RedPoint cannot find the Crystal Help file in C:\CRW directory
  220. exists
  221.  What follows is code for the exists function
  222.  This function returns True if a given file exists, False otherwise 
  223.  Try to open file for input.  If successful, file exists
  224.  If we get here the file does not exists
  225. Form_Load
  226. Ready
  227. InitExportOptions
  228. uxftext
  229. uxddisk
  230. Option3D1_Click
  231. Print
  232. Print
  233. Print
  234. Export
  235.